-- card: 22415 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4755 -- name: -- part contents for background part 7 ----- text ----- 59 -- part contents for background part 4 ----- text ----- An ARRAY is a sequence of values of a given data type, arranged contiguously in memory. Arrays are declared by following the identifier with an integer constant enclosed in [] brackets. To declare an array of 10 floats requires: float f_array[10]; Individual ELEMENTS of an array are accessed using the index in brackets. Indexing begins at 0, so in the above example, elements f_array[0] through f_array[9] are allocated appropriately, but f_array[10] should not be accessed. f_array[5] = 100.; Multi-dimensional arrays are declared using the following syntax: float f_array[10] [10]; This declares a 10 by 10 array. The indexing begins with 0 for both rows and columns. -- part contents for background part 6 ----- text ----- 2.3 Arrays